/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module Clerk.h -  Header file for Clerk functionality |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/Include/clerk.h $ 
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#include <sizes.h>
#include <transact.h>

#ifdef  CLERK_DEFINED

#ifndef CLERK_H
#define CLERK_H

#define MAXEVENTS                 3
#define MAX_STRING              230

void vdDispTitleStrAtRight(long lnMsgNum, int inClearDp);
int inValidateClerk(char *szClerkID);
int inGetClerkId (TRANSACTION_OBJECT *pobTran);
int inGetClerkServerId (TRANSACTION_OBJECT *pobTran);
int pAddClerk (TRANSACTION_OBJECT *pobTran);
int pDelClerk (void);
int pModClerk (void);
int inAdjustCashTip (char *szClerkID);
int inCheckLogOn (TRANSACTION_OBJECT *pobTran);
int inUpdateClerkFlow (TRANSACTION_OBJECT *pobTran);
int inClearClerkOperation (TRANSACTION_OBJECT *pobTran);
int inAddClerkOperation (TRANSACTION_OBJECT *pobTran);
int inDelClerkOperation (void);
int inModClerkOperation (void);
int inLogInOperation (TRANSACTION_OBJECT *pobTran);
int inLogOffOperation (TRANSACTION_OBJECT *pobTran);
int inAddClerkFunctions(void);
int CLERK_CODE_CHECK(char * a,char *b,short *  c,char * d,unsigned char * e);

#endif

#endif // CLERK_DEFINED
